/**
 * 数据-频次
 */
const frequencies = {
    a: [
        { id: 0, name: '晨起后', num: 0 },
        { id: 1, name: '早餐前', num: 0 },
        { id: 2, name: '早餐中', num: 0 },
        { id: 3, name: '早餐后', num: 0 },
        { id: 4, name: '早餐后2小时', num: 0 },
        { id: 5, name: '午餐前', num: 0 },
        { id: 6, name: '午餐中', num: 0 },
        { id: 7, name: '午餐后2小时', num: 0 },
        { id: 8, name: '晚餐前', num: 0 },
        { id: 9, name: '晚餐中', num: 0 },
        { id: 10, name: '早餐后2小时', num: 0 },
        { id: 11, name: '睡前', num: 0 }
    ],
    b: [
        { id: 0, name: 'Qd(餐前30分钟)', num: 0 },
        { id: 1, name: 'Qd(餐前)', num: 0 },
        { id: 2, name: 'Qd(餐中)', num: 0 },
        { id: 3, name: 'Qd(餐后)', num: 0 },
        { id: 4, name: 'Bid(餐前30分钟)', num: 0 },
        { id: 5, name: 'Bid(餐前)', num: 0 },
        { id: 6, name: 'Bid(餐中)', num: 0 },
        { id: 7, name: 'Bid(餐后)', num: 0 },
        { id: 8, name: 'Tid(餐前30分钟)', num: 0 },
        { id: 9, name: 'Tid(餐前)', num: 0 },
        { id: 10, name: 'Tid(餐中)', num: 0 },
        { id: 11, name: 'Tid(餐后)', num: 0 }
    ],
    c: [
        { id: 0, name: '06:00', num: 0 },
        { id: 1, name: '07:00', num: 0 },
        { id: 2, name: '08:00', num: 0 },
        { id: 3, name: '09:00', num: 0 },
        { id: 4, name: '10:00', num: 0 },
        { id: 5, name: '11:00', num: 0 },
        { id: 6, name: '12:00', num: 0 },
        { id: 7, name: '13:00', num: 0 },
        { id: 8, name: '14:00', num: 0 },
        { id: 9, name: '15:00', num: 0 },
        { id: 10, name: '16:00', num: 0 },
        { id: 11, name: '17:00', num: 0 },
        { id: 12, name: '18:00', num: 0 },
        { id: 13, name: '19:00', num: 0 },
        { id: 14, name: '20:00', num: 0 },
        { id: 15, name: '21:00', num: 0 },
        { id: 16, name: '22:00', num: 0 }
    ]
}

/**
 * 数据-新增药物 初始
 */
const type_init = {
    amount: -1,//写死
    regulerName:'',//commonName
    disease: "",
    drugMode: "",
    uuid:'',//itemCode
    drugName: "",//itemName
    frequency: {
        a: [{ id: 0, name: "晨起后", num: 0 }],
        b: [{ id: 0, name: "Qd(餐前30分钟)", num: 0 }],
        c: [{ id: 0, name: "06:00", num: 0 }]
    },//medicineNameNew
    orderType:"0",//写死
    patientId: "",
    single: -1,//写死
    spec: "",   
    tolddoctorId: "1", 
    olddoctorName:"",
    unit: "",//unit
    drugName_label: ""    
}

/**
 * 数据-编辑药物 初始
 */
const type_edit_init = {
    amount: -1,//写死
    regulerName:'',//commonName
    disease: "",
    drugMode: "",
    uuid:'',//itemCode
    drugName: "",//itemName
    frequency: {
        a: [{ id: 0, name: "晨起后", num: 0 }],
        b: [{ id: 0, name: "Qd(餐前30分钟)", num: 0 }],
        c: [{ id: 0, name: "06:00", num: 0 }]
    },//medicineNameNew
    orderType:"0",//写死
    patientId: "20200508175357228",//写死
    single: -1,//写死
    spec: "",   
    tolddoctorId: "1",//写死 
    unit: "",//unit
    drugName_label: "" ,
    
    ajustment_question:'', //干预分类
    ajustment_reason:'',//干预原因
    mark:'',//备注
    uuid:''

}

/**
 * 数据-停用药物 初始
 */
const type_stop_init = {    
    uuid:'',  
    adviceState:'3',
    wrongOper:'',
    stopdoctorId:'',
    stopdoctorName:'',
    ajustment_question:'',//干预分类
    ajustment_reason:'',//干预原因
    mark:''//备注
}

export { frequencies,type_init,type_edit_init,type_stop_init }